package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class OrdersRefund implements Serializable {
    private Integer id;

    /**
     * 订单号
     *
     * @mbg.generated
     */
    private String orderNo;

    /**
     * 订单详情id（原路返回页做退款用）
     *
     * @mbg.generated
     */
    private Integer ordersInfoId;

    /**
     * 退款订单号
     *
     * @mbg.generated
     */
    private String refundNo;

    /**
     * 支付订单号
     *
     * @mbg.generated
     */
    private String tradeNo;

    /**
     * 状态 1 退款中 2 成功 3失败
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 订单金额
     *
     * @mbg.generated
     */
    private Integer totalFee;

    /**
     * 退款金额
     *
     * @mbg.generated
     */
    private Integer refundFee;

    /**
     * 退款原因
     *
     * @mbg.generated
     */
    private String refundDesc;

    private Date createTime;

    private Date updateTime;

    private String reqText;

    private String resText;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getOrdersInfoId() {
        return ordersInfoId;
    }

    public void setOrdersInfoId(Integer ordersInfoId) {
        this.ordersInfoId = ordersInfoId;
    }

    public String getRefundNo() {
        return refundNo;
    }

    public void setRefundNo(String refundNo) {
        this.refundNo = refundNo;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(Integer totalFee) {
        this.totalFee = totalFee;
    }

    public Integer getRefundFee() {
        return refundFee;
    }

    public void setRefundFee(Integer refundFee) {
        this.refundFee = refundFee;
    }

    public String getRefundDesc() {
        return refundDesc;
    }

    public void setRefundDesc(String refundDesc) {
        this.refundDesc = refundDesc;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getReqText() {
        return reqText;
    }

    public void setReqText(String reqText) {
        this.reqText = reqText;
    }

    public String getResText() {
        return resText;
    }

    public void setResText(String resText) {
        this.resText = resText;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderNo=").append(orderNo);
        sb.append(", ordersInfoId=").append(ordersInfoId);
        sb.append(", refundNo=").append(refundNo);
        sb.append(", tradeNo=").append(tradeNo);
        sb.append(", status=").append(status);
        sb.append(", totalFee=").append(totalFee);
        sb.append(", refundFee=").append(refundFee);
        sb.append(", refundDesc=").append(refundDesc);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", reqText=").append(reqText);
        sb.append(", resText=").append(resText);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}